//// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
//package com.linqingying.gitcode.pullrequest.ui.editor
//
//import com.intellij.collaboration.ui.codereview.editor.CodeReviewInlayModel
//import com.intellij.collaboration.util.Hideable
//import kotlinx.coroutines.flow.MutableStateFlow
//import com.linqingying.gitcode.pullrequest.ui.comment.GCPRCompactReviewThreadViewModel
//
//sealed interface GCPREditorMappedComponentModel : CodeReviewInlayModel {
//  abstract class Thread<VM : GCPRCompactReviewThreadViewModel>(val vm: VM)
//    : GCPREditorMappedComponentModel, Hideable {
//    final override val key: Any = vm.id
//    final override val hiddenState = MutableStateFlow(false)
//    final override fun setHidden(hidden: Boolean) {
//      hiddenState.value = hidden
//    }
//  }
//
//  abstract class NewComment<VM : GCPRReviewNewCommentEditorViewModel>(val vm: VM)
//    : GCPREditorMappedComponentModel {
//  }
//}
